package com.bwhx.eruler.dao.impl;

import java.util.HashMap;

import org.springframework.stereotype.Repository;

import com.bwhx.eruler.dao.EtapeDecodeDAO;
@Repository
public class EtapeDecodeDAOImpl  extends BaseDaoImpl<String> implements EtapeDecodeDAO {

	@Override
	public int isLegal(String sn, String code) {
		
		HashMap<String,String> paramMap = new HashMap<String,String>();
		paramMap.put("sn", sn);
		paramMap.put("code", code);
		return getSqlSession().selectOne("com.bwhx.eruler.mapper.EtapeDecodeMapper." + "isLegal",paramMap);
	}
	
	
	 
}
